<script >
export default {
  name: "frpVersion",
  data() {
    return {
      value: "",
      frpVersionList: [],
    };
  },
  created() {
  },
  mounted() {
    this.init()
  },
  methods: {
    init(){
      let params = {

      }
      this.$https("/","get",params,1,{} ).then( res=> {
        this.frpVersionList = res.data.data
      })
    }
  },
}
</script>

<template>

  <el-row :gutter="24">
    <el-col :span="24">
      <span>下载源:</span>
      <el-select v-model="value" class="m-2" placeholder="Select">
        <el-option
            v-for="item in frpVersionList"
            :key="item.value"
            :label="item.label"
            :value="item.value"
        />
      </el-select>
      <el-button type="primary">刷新版本号</el-button>
      <el-button type="primary">下载资源</el-button>
    </el-col>
  </el-row>
</template>

<style scoped>

</style>